package com.gitee.shoes.crawler.core.dewu;

import com.gitee.shoes.crawler.core.IResp;
import lombok.Data;

/**
 * @author LYH
 */
@Data
class DewuResp<T> implements IResp {
    private String msg;
    private Integer code;
    private Integer status;
    private T data;

    @Override
    public boolean isSuccess() {
        return this.code == 200 && this.status == 200;
    }
}
